import { UserStatus } from '../enums';

/**
 * 用户表字段接口
 */
export interface IUser {
  id: string;
  username: string;
  password: string;
  phone?: string;
  email?: string;
  status: UserStatus;
  created_at: string;
  updated_at: string;
}

/**
 * 知识库字段接口
 */
export interface IKnowledge {
  id: string;
  type: number;
  title: string;
  content: string;
  created_at: string;
  updated_at: string;
}

/**
 * 知识库类型接口
 */
export interface IKnowledgeType {
  id: string;
  type_key: number;
  title_val: string;
  created_at: string;
  updated_at: string;
}
